package com.ossjk.oa.finance.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.TableField;
import com.ossjk.core.base.entity.BaseEntity;

/**
 * 薪酬表
 *
 * @Author chair
 * @Version 1.0, 2019-09-22
 * @See
 * @Since com.ossjk.oa.finance.finance.entity
 * @Description: TODO
 */
public class Salary extends BaseEntity<Salary> {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    @TableField("eid")
    private String eid;
    /**
     * 年
     */
    @TableField("year")
    private String year;
    /**
     * 部门id
     */
    @TableField("did")
    private String did;
    /**
     * 月
     */
    @TableField("month")
    private String month;
    /**
     * 薪酬表达式
     */
    @TableField("expression")
    private String expression;
    /**
     * 薪酬公式
     */
    @TableField("formula")
    private String formula;
    /**
     * 详情
     */
    @TableField("details")
    private String details;
    /**
     * 工资
     */
    @TableField("salary")
    private BigDecimal salary;
    /**
     * 工资月份
     */
    @TableField("wagemonth")
    private String wagemonth;
    /**
     * 基本工资
     */
    @TableField("basicsalary")
    private BigDecimal basicsalary;

    /**
     * 绩效工资
     */
    @TableField("meritpay")
    private Double meritpay;
    /**
     * 考勤工资
     */
    @TableField("kaoqinSalary")
    private Double kaoqinSalary;
    /**
     * 奖励工资
     */
    @TableField("subsidy")
    private Double subsidy;
    /**
     * 扣款
     */
    @TableField("deduction")
    private Double deduction;
    /**
     * 业绩工资
     */
    @TableField("achievement")
    private Double achievement;
    /**
     * 其他收入
     */
    @TableField("otherincome")
    private Double otherincome;
    /**
     * 补发
     */
    @TableField("bufa")
    private Double bufa;
    /**
     * 应出勤
     */
    @TableField("attendance")
    private Double attendance;
    /**
     * 实际出勤
     */
    @TableField("actualattendance")
    private Double actualattendance;
    /**
     * 带薪调休
     */
    @TableField("breakoff")
    private Double breakoff;
    /**
     * 请假
     */
    @TableField("leaved")
    private Double leaved;
    /**
     * 迟到
     */
    @TableField("late")
    private Integer late;

    /**
     * 加班累计
     */
    @TableField("overtime")
    private Double overtime;
    /**
     * 缺勤
     */
    @TableField("absenteeism")
    private Double absenteeism;
    /**
     * 公积金
     */
    @TableField("gjj")
    private Double gjj;
    /**
     * 社保公司部分
     */
    @TableField("sbcpm")
    private Double sbcpm;
    /**
     * 社保个人部分
     */
    @TableField("sbprson")
    private Double sbprson;
    /**
     * 个税
     */
    @TableField("gesui")
    private Double gesui;


    /**
     * 最终公式
     */
    @TableField("finalformula")
    private String finalformula;

    public Double getMeritpay() {
        return meritpay;
    }

    public void setMeritpay(Double meritpay) {
        this.meritpay = meritpay;
    }

    public Double getKaoqinSalary() {
        return kaoqinSalary;
    }

    public void setKaoqinSalary(Double kaoqinSalary) {
        this.kaoqinSalary = kaoqinSalary;
    }

    public Double getSubsidy() {
        return subsidy;
    }

    public void setSubsidy(Double subsidy) {
        this.subsidy = subsidy;
    }

    public Double getDeduction() {
        return deduction;
    }

    public void setDeduction(Double deduction) {
        this.deduction = deduction;
    }

    public Double getAchievement() {
        return achievement;
    }

    public void setAchievement(Double achievement) {
        this.achievement = achievement;
    }

    public Double getOtherincome() {
        return otherincome;
    }

    public void setOtherincome(Double otherincome) {
        this.otherincome = otherincome;
    }

    public Double getBufa() {
        return bufa;
    }

    public void setBufa(Double bufa) {
        this.bufa = bufa;
    }

    public Double getAttendance() {
        return attendance;
    }

    public void setAttendance(Double attendance) {
        this.attendance = attendance;
    }

    public Double getActualattendance() {
        return actualattendance;
    }

    public void setActualattendance(Double actualattendance) {
        this.actualattendance = actualattendance;
    }

    public Double getBreakoff() {
        return breakoff;
    }

    public void setBreakoff(Double breakoff) {
        this.breakoff = breakoff;
    }

    public Double getLeaved() {
        return leaved;
    }

    public void setLeaved(Double leaved) {
        this.leaved = leaved;
    }

    public Integer getLate() {
        return late;
    }

    public void setLate(Integer late) {
        this.late = late;
    }

    public Double getOvertime() {
        return overtime;
    }

    public void setOvertime(Double overtime) {
        this.overtime = overtime;
    }

    public Double getAbsenteeism() {
        return absenteeism;
    }

    public void setAbsenteeism(Double absenteeism) {
        this.absenteeism = absenteeism;
    }

    public Double getGjj() {
        return gjj;
    }

    public void setGjj(Double gjj) {
        this.gjj = gjj;
    }

    public Double getSbcpm() {
        return sbcpm;
    }

    public void setSbcpm(Double sbcpm) {
        this.sbcpm = sbcpm;
    }

    public Double getSbprson() {
        return sbprson;
    }

    public void setSbprson(Double sbprson) {
        this.sbprson = sbprson;
    }

    public Double getGesui() {
        return gesui;
    }

    public void setGesui(Double gesui) {
        this.gesui = gesui;
    }

    public String getWagemonth() {
        return wagemonth;
    }

    public void setWagemonth(String wagemonth) {
        this.wagemonth = wagemonth;
    }

    public BigDecimal getBasicsalary() {
        return basicsalary;
    }

    public void setBasicsalary(BigDecimal basicsalary) {
        this.basicsalary = basicsalary;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getExpression() {
        return expression;
    }

    public void setExpression(String expression) {
        this.expression = expression;
    }

    public String getFormula() {
        return formula;
    }

    public void setFormula(String formula) {
        this.formula = formula;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public String getFinalformula() {
        return finalformula;
    }

    public void setFinalformula(String finalformula) {
        this.finalformula = finalformula;
    }

    @Override
    public String toString() {
        return "Salary{" +
                "eid='" + eid + '\'' +
                ", year='" + year + '\'' +
                ", did='" + did + '\'' +
                ", month='" + month + '\'' +
                ", expression='" + expression + '\'' +
                ", formula='" + formula + '\'' +
                ", details='" + details + '\'' +
                ", salary=" + salary +
                ", wagemonth='" + wagemonth + '\'' +
                ", basicsalary=" + basicsalary +
                ", meritpay=" + meritpay +
                ", kaoqinSalary=" + kaoqinSalary +
                ", subsidy=" + subsidy +
                ", deduction=" + deduction +
                ", achievement=" + achievement +
                ", otherincome=" + otherincome +
                ", bufa=" + bufa +
                ", attendance=" + attendance +
                ", actualattendance=" + actualattendance +
                ", breakoff=" + breakoff +
                ", leaved=" + leaved +
                ", late=" + late +
                ", overtime=" + overtime +
                ", absenteeism=" + absenteeism +
                ", gjj=" + gjj +
                ", sbcpm=" + sbcpm +
                ", sbprson=" + sbprson +
                ", gesui=" + gesui +
                ", finalformula='" + finalformula + '\'' +
                '}';
    }



    @Override
    protected Serializable pkVal() {
        // TODO Auto-generated method stub
        return this.id;
    }

}
